<h1>Configuration</h1>

<?php  $this->widget('zii.widgets.grid.CGridView', array(
    'dataProvider'=>$dataProvider,
    'columns'=>array(
      array(
        'header'=>'No.',
        'value'=>'$this->grid->dataProvider->pagination->currentPage * $this->grid->dataProvider->pagination->pageSize + ($row+1)',
      ),
      'name',
      'data_en',
      'data_th',
      array(
        'header'=>'Edit',
        'class'=>'CButtonColumn',
        'template'=>'{update}',
        'buttons'=>array(
          'update' => array(
            'imageUrl'=>Yii::app()->request->baseUrl.'/images/icons/icon_edit.jpg',
          )
        ),
      ),
    ),
  )); ?>
